<?php

namespace System\library;

/**
 * <b>Class</b> :        Debugger<br>
 * <b>Fonction</b> :     Utilitaire de debuggage
 * <br>
 * @version              1.0
 * @author               Dread <dreadlokeur@gmail.com>
 * @license              Licence publique générale GNU http://www.gnu.org/licenses/gpl.html
 * @copyright            Copyright 2011 - MidichloriansPHP and contributors
 * @package              System
 * @subpackage           library
 */
class Debugger {

    public static function dump($expression) {
        echo '<pre>';
        var_dump($expression);
        echo '</pre>';
    }

    public static function xdebugIsEnabled() {
        if (extension_loaded('xdebug'))
            return (bool) xdebug_is_enabled();

        return false;
    }

}

?>
